call pkgconfig in order to be able to cross build qtbase with MySql.
authorHelmut Grohne <helmut@subdivi.de>
Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Fri, 11 Dec 2020 08:31:30 +0000 (08:31 +0000)
commit96f9edcaee76fbc3c0dc3666c5778b9b59248faf
tree484f84dd9a2c22a9cc691382a3899177c14abd74
parentfddf73c39260f0b91ad496d52313918e5701eee7
call pkgconfig in order to be able to cross build qtbase with MySql.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971604
Forwarded: not-needed
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Qt's build system calls mysql_config... which won't work in a cross build
environment like Debian's, as it will throw an exec format error.

In order to solve this call pkgconfig and use mysqlclient.pc.

Gbp-Pq: Name cross_build_mysql.diff
src/plugins/sqldrivers/configure.json